package business.other.impl;

import business.other.StatisticalOfficeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import other.domain.*;
import other.mapper.*;
import java.util.List;

/**
 * Created by SunZZ on 2016/6/15.
 */
@Service(value = "statisticalOfficeService")
public class StatisticalOfficeServiceImpl implements StatisticalOfficeService {

    @Autowired
    StatisticalOfficeMapper statisticalOfficeMapper;

    @Override
    public List<StatisticalOffice> selectStatisticalOffice() {
        StatisticalOfficeCriteria criteria = new StatisticalOfficeCriteria();
        criteria.createCriteria().getAllCriteria();
        return statisticalOfficeMapper.selectByExample(criteria);
    }
}
